{extend name="public/base"/}
{block name="content"}
<section class="content">

        <div class="box box-default">
            <div class="box-header">
                <h3 class="box-title">
                    <a href="{:U('Links/index')}">链接列表</a>
                </h3>

                <h3 class="box-title">
                    <a href="{:U('Links/add')}">添加链接</a>
                </h3>

                <h3 class="box-title">
                    <a href="{:U('Links/lid_index')}">类别列表</a>
                </h3>

                <h3 class="box-title">
                    <a href="{:U('Links/lid_add')}">添加类别</a>
                </h3>

            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form action="{:U('Links/postLidEdit',array('id'=>$_GET['id']))}" method="post">
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">
                            <table class="table table-bordered">

                                <tr>
                                    <th width="140">类别名称:</th>
                                    <td><input class="form-control" type="text" name="name" value="{$edit.name}"
                                               size="30"></td>
                                </tr>

                                <tr>
                                    <th width="140">名称标识:</th>
                                    <td><input class="form-control" type="text" name="type" value="{$edit.type}"
                                               size="30"></td>
                                </tr>
                            </table>
                        </div>
                        <!-- /.col -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <button type="submit" class="btn btn-primary">确认修改</button>
                </div>
            </form>

        </div>
        <!-- /.box -->

    <!-- /.col -->
</section>
{/block}